﻿using System;
namespace Microsoft.Data.OData
{
    /// <summary>
    /// Enumeration representing the different kinds of payloads ODatLib can write.
    /// </summary>
    public enum ODataPayloadKind
    {
        /// <summary>Payload kind for a feed.</summary>
        Feed,
        /// <summary>Payload kind for an entry.</summary>
        Entry,
        /// <summary>Payload kind for a property.</summary>
        Property,
        /// <summary>Payload kind for an entity reference link.</summary>
        EntityReferenceLink,
        /// <summary>Payload kind for entity reference links.</summary>
        EntityReferenceLinks,
        /// <summary>Payload kind for a raw value.</summary>
        Value,
        /// <summary>Payload kind for a binary value.</summary>
        BinaryValue,
        /// <summary>Payload kind for a collection.</summary>
        Collection,
        /// <summary>Payload kind for a service document.</summary>
        ServiceDocument,
        /// <summary>Payload kind for a metadata document.</summary>
        MetadataDocument,
        /// <summary>Payload kind for an error.</summary>
        Error,
        /// <summary>Payload kind for a batch.</summary>
        Batch,
        /// <summary>Payload kind for parameters for a service action.</summary>
        Parameter,
        /// <summary>Unknown format</summary>
        Unsupported = 2147483647
    }
}
